home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE2 / PD / VINCE / !ViNCe / h / display < prev    next >
Text File  |  2002-07-03  |  510b  |  22 lines

  1.  
  2. #ifndef __DISPLAY_H__
  3. #define __DISPLAY_H__
  4.  
  5. typedef struct DISPLAY {
  6.   int sizex, sizey, shortsperline;
  7.   void *displaycontext;
  8.   unsigned short *data;
  9. } DISPLAY;
  10.  
  11.  
  12. extern DISPLAY display;
  13.  
  14.  
  15. void display_raw(int rx, int ry, int rw, int rh, void *buf, int dithered8);
  16. void display_copy(int rx, int ry, int rw, int rh, int sx, int sy);
  17. void display_fillrectangle(int rx, int ry, int rw, int rh, unsigned short pix);
  18. void display_flush(void);
  19. void display_add_rectangle(int rx, int ry, int rw, int rh);
  20.  
  21. #endif
  22.